home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 119
/
(Vol 119) Nov 09 2010.iso
/
Games
/
orbitrax.swf
/
scripts
/
DefineButton2_98
/
BUTTONCONDACTION on(press).as
next >
Wrap
Text File
|
2010-11-09
|
252b
|
11 lines
on(press){
this.onEnterFrame = function()
{
newX = _xmouse;
newX = Math.max(Math.min(newX,55),0);
cursor._x = newX;
main.mainVolume = Math.round(newX / 55 * 100);
main.s.setVolume(main.mainVolume);
};
}